package day007.api_Integer;

public class IntegerDemo03 {
    public static void main(String[] args) {
        //装箱，把基本数据类型装箱成Integeter对象
        Integer ii = 100;
        System.out.println(ii);
        System.out.println(ii.getClass().getName());

        //拆箱，把Integer对象拆箱成基本数据类型
        ii += 200;
        System.out.println(ii);
        System.out.println(ii.getClass().getName());
    }
}
